package com.cskaoyan.mapper;

import com.cskaoyan.bean.PO.MarketPermissions;
import com.cskaoyan.bean.PO.MarketPermissionsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MarketPermissionsMapper {
    long countByExample(MarketPermissionsExample example);

    int deleteByExample(MarketPermissionsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketPermissions record);

    int insertSelective(MarketPermissions record);

    List<MarketPermissions> selectByExample(MarketPermissionsExample example);

    MarketPermissions selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketPermissions record, @Param("example") MarketPermissionsExample example);

    int updateByExample(@Param("record") MarketPermissions record, @Param("example") MarketPermissionsExample example);

    int updateByPrimaryKeySelective(MarketPermissions record);

    int updateByPrimaryKey(MarketPermissions record);
}